import { Model, Optional } from 'sequelize'
export interface BaseModelAttribute {
    id: number
    createTime: Date
    updateTime: Date
    creator: string
    updater: string
}
interface BaseModelCreationAttribute extends Optional<BaseModelAttribute, 'id'> { }
export class BaseModel<T> extends Model<T, BaseModelCreationAttribute> {
    id: number
    createTime: Date
    updateTime: Date
    creator: string
    updater: string
}